package com.jkt.rms.dataservice;

import java.util.List;

import com.jkt.rms.business.ResourceRole;
import com.jkt.rms.commons.utils.RMSException;
public interface ResourceRoleDataService  {
	public void saveRole(ResourceRole ResourceRole) throws RMSException;
	public void updateRole(ResourceRole ResourceRole) throws RMSException;
	public boolean isRoleExist(String roleCode,String roleName, Long id) throws RMSException;
	public List<ResourceRole> findByCriteria(ResourceRole ResourceRole) throws RMSException;
	public List<ResourceRole> findAll();
	public List<ResourceRole> getActiveRolesList() throws RMSException;

	public ResourceRole findById(Long id) throws RMSException;

}
